//---------------------------------------------------------------------------------------------------
inline std::vector<Bone*>& SkinningEffect::GetBones()
{
	return m_pkSkeleton->GetBones();
}
//---------------------------------------------------------------------------------------------------
inline Skeleton* SkinningEffect::GetSkeleton()
{
	return m_pkSkeleton;
}
//---------------------------------------------------------------------------------------------------
inline void SkinningEffect::SetSkeleton(Skeleton* pkSkeleton)
{
	m_pkSkeleton = pkSkeleton;
}
//---------------------------------------------------------------------------------------------------
inline int SkinningEffect::GetBonesQuantity()
{
	return (int)m_pkSkeleton->GetBones().size();
}
//---------------------------------------------------------------------------------------------------
inline void SkinningEffect::SetMatrix(int i, const float* afMatrix)
{
	assert(0 <= i && i < 24);
	for (int j = 0; j < 12; j++)
	{
		m_akMatrix[i][j] = afMatrix[j];
	}

}
// ---------------------------------------------------------------------------------------------------
// inline const Matrix4f& SkinningEffect::GetMatrix(int i) const
// {
// 	assert(0 <= i && i <= 4);
// 	return m_akMatrix[i];
// }
// ---------------------------------------------------------------------------------------------------